{$formStart}
<table>
    <tr>
        <th colspan="2">{$addNews}</th>
    </tr>
    <tr>
        <td>{$title}</td>
        <td><input type="text" name="title" /></td>
    </tr>
    <tr>
        <td>{$language}</td>
        <td><input type="text" maxlength="4" name="lang" /></td>
    </tr>
    <tr>
        <td>{$image}</td>
        <td><input type="file" name="image"></td>
    </tr>
    <tr>
        <td>{$categoriesLabel}</td>
        <td>
            <select name="category[]" multiple="multiple" size="4">
                {section name=category loop=$categories}
                <option value="{$categories[category].id}">{$categories[category].name}</option>
                {/section}
            </select>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            {$text}<br />
            <textarea name="text" cols="80" rows="10"></textarea>
        </td>
    </tr>
    <tr>
        <td>{$source}</td>
        <td><input type="text" name="newsSource" /></td>
    </tr>
    <tr>
        <td>{$author}</td>
        <td><input type="text" name="author" value="{$login}" /></td>
    </tr>
    <tr>
        <td colspan="2"><input type="submit" value="{$create}" /></td>
    </tr>
</table>
</form>
<span style="display: none" id="fileCategoryId">{$fileCategoryId}</span>